package com.itycu.server.mapper.business;

import java.util.List;
import com.itycu.server.core.Mapper;
import com.itycu.server.domain.business.PraPractices;
import com.itycu.server.dto.business.PraPracticesDto;

/**
 * 练习子Mapper接口
 *
 * @author itycu
 * @date 2025-02-20
 */
public interface PraPracticesMapper extends Mapper<PraPractices> {
    /**
     * 查询练习子列表
     *
     * @param praPractices 练习子
     * @return 练习子集合
     */
    List<PraPracticesDto> listByCondition(PraPractices praPractices);

    PraPracticesDto findById(Long id);
}
